import axios from 'axios';
const myRequest = axios.create({
    baseURL: 'http://localhost:3000',
    timeout:6000
})
myRequest.interceptors.request.use(config => {
    return config
},(error)=>{console.log(error)
})

myRequest.interceptors.response.use(response => {
    return response
},(error)=>{console.log(error)
})


export default myRequest